package com.smmisia.article.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum SignSource {
    SIGN(0, "签到"),
    LIKE(1, "点赞"),
    COMMENT(2, "评论"),
    ADMIN(3, "后台操作"),
    SHOP(4, "购买商品"),
    PRIZE(5, "抽奖");

    @EnumValue
    private Integer code;
    private String desc;

    SignSource(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
